﻿namespace SolidPrinciples.OpenClosed
{
	public class Product
	{
		private readonly string _name;
		private readonly decimal _price;

		public Product(string name, decimal price)
		{
			_name = name;
			_price = price;
		}

		public string Name
		{
			get { return _name; }
		}

		public decimal Price
		{
			get { return _price; }
		}
	}
}